package com.bw.user.proxy.abc;

/**
 * @ClassName Utils
 * @Author Hao_YunKai
 * @Date 2022/4/4 20:03
 */
public class Utils implements A{
    A a;

    @Override
    public void test() {
        System.out.println("JAVA");
        a.test();
    }
}

class Entrance {
    public static void main(String[] args) {
        B b = new B();
        Utils utils = new Utils();
        utils.a = b;

        X x = new X();
        x.specialX(utils);
    }
}
